#include <stdio.h>
int main(){
    FILE* file = fopen("test.txt","r");
    if(file == NULL){
        printf("Error opening file\n");
        return 1;
    }
    char buffer[4096];
    while(fgets(buffer,4096,file) != NULL){
        printf("%s",buffer);
    }

    fclose(file);
    return 0;
}